<pre style="line-height: 100%;font-family:monospace;background-color:#ffffff; border-width:0.01mm; border-color:#000000; border-style:solid;padding:4px;font-size:10pt;"><span style="color:#808080;background-color:#ffffff;">&lt;!--
 Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
--&gt;
</span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">html</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">  </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">head</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">title</span><span style="background-color:#efefef;">&gt;</span><span style="background-color:#ffffff;">Tag Plugin Examples: if</span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">title</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">  </span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">head</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">  </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">body</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">h1</span><span style="background-color:#efefef;">&gt;</span><span style="background-color:#ffffff;">Tag Plugin Examples - </span><span style="color:#0000ff;background-color:#ffffff;">&lt;</span><span style="background-color:#ffffff;">c:if&gt;</span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">h1</span><span style="background-color:#efefef;">&gt;

</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">hr</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">br</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">a</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">href=</span><span style="color:#008000;background-color:#efefef;">"notes.html"</span><span style="background-color:#efefef;">&gt;</span><span style="background-color:#ffffff;">Plugin Introductory Notes</span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">font</span><span style="background-color:#efefef;"> &lt;</span><span style="color:#000080;background-color:#efefef;">font</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">color=</span><span style="color:#008000;background-color:#efefef;">"#0000FF"</span><span style="background-color:#efefef;">&gt;&lt;/</span><span style="color:#000080;background-color:#efefef;">a</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">br</span><span style="background-color:#efefef;">/&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">a</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">href=</span><span style="color:#008000;background-color:#efefef;">"howto.html"</span><span style="background-color:#efefef;">&gt;</span><span style="background-color:#ffffff;">Brief Instructions for Wrieting Plugins</span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">font</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">color=</span><span style="color:#008000;background-color:#efefef;">"#0000FF"</span><span style="background-color:#efefef;">&gt;&lt;/</span><span style="color:#000080;background-color:#efefef;">a</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">br</span><span style="background-color:#efefef;">/&gt;</span><span style="background-color:#ffffff;"> </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">br</span><span style="background-color:#efefef;">/&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">hr</span><span style="background-color:#efefef;">&gt;

</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">font</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">color=</span><span style="color:#008000;background-color:#efefef;">"#000000"</span><span style="background-color:#efefef;">/&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">br</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;

    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">h3</span><span style="background-color:#efefef;">&gt;</span><span style="background-color:#ffffff;">Set the test result to a variable</span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">h3</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">c:if</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">test=</span><span style="color:#008000;background-color:#efefef;">"${1==1}"</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">var=</span><span style="color:#008000;background-color:#efefef;">"theTruth"</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">scope=</span><span style="color:#008000;background-color:#efefef;">"session"</span><span style="background-color:#efefef;">/&gt;
</span><span style="background-color:#ffffff;">    The result of testing for (1==1) is: ${theTruth}

    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">h3</span><span style="background-color:#efefef;">&gt;</span><span style="background-color:#ffffff;">Conditionally execute the body</span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">h3</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    </span><span style="background-color:#efefef;">&lt;</span><span style="color:#000080;background-color:#efefef;">c:if</span><span style="background-color:#efefef;"> </span><span style="color:#0000ff;background-color:#efefef;">test=</span><span style="color:#008000;background-color:#efefef;">"${2&gt;0}"</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">    It's true that (2&gt;0)!
    </span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">c:if</span><span style="background-color:#efefef;">&gt;
</span><span style="background-color:#ffffff;">  </span><span style="background-color:#efefef;">&lt;/</span><span style="color:#000080;background-color:#efefef;">body</span><span style="background-color:#efefef;">&gt;
&lt;/</span><span style="color:#000080;background-color:#efefef;">html</span><span style="background-color:#efefef;">&gt;</span><span style="background-color:#ffffff;"> </span></pre>